﻿using FrameworkCore.Migrations.Data;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Entities.SlimmingAssistants
{
    /// <summary>
    /// AI减肥助手
    /// </summary>
    [Table("SlimmingAssistants")]
    public class SlimmingAssistant : BaseAuditableEntity, ISoftDeletedEntity
    {
        /// <summary>
        /// 关联用户ID（必须与用户表主键对应）
        /// </summary>
        public long? CustomerId { get; set; }

        public Customer? Customer { get; set; }

        /// <summary>
        /// 性别 女：0；男：1
        /// </summary>
        public Gender? Gender { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int? Age { get; set; }

        /// <summary>
        /// 身高（CM）
        /// </summary>
        public double? Height { get; set; }

        /// <summary>
        /// 体重（千克）
        /// </summary>
        public double? Weight { get; set; }

        /// <summary>
        /// 推荐/建议
        /// </summary>
        public string? Referrals { get; set; }

        /// <summary>
        /// 软删除
        /// </summary>
        public bool? IsDeleted { get; set ; }
    }
}
